import 'package:get/get.dart';
import 'package:largefriends/service/lf_auth_service.dart';

import '../../config/lf_route.dart';

toSuspendPage() {
  if (Get.isRegistered<LfSuspendLogic>()) {
    return;
  }
  Get.offAndToNamed(LFRoute.pathSuspend);
}

class LfSuspendLogic extends GetxController {
  LfAuthService authService = Get.find();

  void logout() {
    authService.loginOut();
  }
}
